//
//  CYTextView.h
//  LingLingBang
//
//  Created by 郝俊聪 on 15/12/28.
//  Copyright © 2015年 zhaohongling. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CYEmoticonCell;

@interface CYTextView : UITextView

//发送粘贴事件，执行的block
@property (nonatomic, copy) void (^textViewPaste)();

@property (nonatomic, strong) UIFont *currentfont;

///将textView中的图片转成字符
- (NSString *)fullText;
///将textView中的图片转成字符
+ (NSString *)fullTextWithAttriStr:(NSAttributedString *)attriStr;
///插入表情的方法
- (void)insertEmoticon:(CYEmoticonCell *)cell;

@end
